﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CommonUtils
{
	public class BaseLib : IBaseLib
	{
		#region methods
		public void OnException(ExceptionEventArgs e) { if (ExceptionEvent != null) ExceptionEvent(this, e); }
		public void OnMessage(MessageEventArgs e) { if (MessageEvent != null) MessageEvent(this, e); }
		#endregion methods
		
		#region events
		public event ExceptionEventHandler ExceptionEvent;
		public event MessageEventHandler MessageEvent;
		#endregion events
	}
}
